from django.urls import re_path

from goods import views

urlpatterns = [
    # 商品列表页
   re_path(r'^list/(?P<category_id>\d+)/skus/$', views.ListView.as_view()),
   # 热销商品排行
   re_path(r'^hot/(?P<category_id>\d+)/$', views.HotGoodsView.as_view()),
   re_path(r'^search/$', views.MySearchView()),
]